package com.hgd.impl;

import java.util.ArrayList;
import java.util.List;
import org.hibernate.Session;
import com.hgd.DAO.AdminDAO;
import com.hgd.ORM.Admin;
import com.hgd.hibernate.HibernateUtil;

@javax.jws.WebService(targetNamespace = "http://impl.hgd.com/", serviceName = "AdminImplService", portName = "AdminImplPort", wsdlLocation = "WEB-INF/wsdl/AdminImplService.wsdl")
public class AdminImplDelegate {

	com.hgd.impl.AdminImpl adminImpl = new com.hgd.impl.AdminImpl();

	public List<Admin> adminLogin(String adminName, String passsword) {
		return adminImpl.adminLogin(adminName, passsword);
	}

	public List<Admin> getAllAdmin() {
		return adminImpl.getAllAdmin();
	}

	public int adminMod(Admin admin) {
		return adminImpl.adminMod(admin);
	}

}